import {createApp} from 'vue'
import './style.css'
import App from './App.vue'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as Icons from '@element-plus/icons-vue'
import router from "./router/index.js";

const app = createApp(App)

for (const i in Icons) {
    app.component(i,Icons[i])
}
app.use(ElementPlus).use(router)
app.mount('#app')

// createApp(App).mount('#app')
